package jun.home.dailycost.service;

import java.util.Date;
import java.util.List;

import jun.home.dailycost.domain.Category;
import jun.home.dailycost.domain.Item;

public interface ItemService {

	public void storeItem(Item item);
	
	public void deleteItem(Item item);
	
	public void delteItemById(int id);
	
	public Item selectItem(int id);
	
	public List<Item> selectByCategory(Category cat);
	
	public List<Item> select(Category cat, Date start, Date end);
	
	public List<Item> select(Date start, Date end);
	
}
